<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="app">
        <h3>复选框单独使用时:</h3>
       <input id="picked" type="checkbox" v-model="text">
       <label for="picked">{{text}}</label>
    </div>

    <script>
        var vm = new Vue({
        el:'#app',
        data:{
            text:false
        }
    });
    </script>
    
</body>
</html>